package com.lcc.dingtalk.robot.base.exception;

import com.lcc.dingtalk.robot.base.enums.ENLogLevel;
import lombok.NoArgsConstructor;

/**
 * @author lincc
 * @version 1.0 2020/8/14
 * 业务异常
 */
@NoArgsConstructor
public class DingTalkBusinessException extends DingTalkBaseException {

    private static final long serialVersionUID = -7288214835094303151L;

    public DingTalkBusinessException(Throwable e) {
        super(e);
        this.level = ENLogLevel.WARN;
    }

    public DingTalkBusinessException(String str) {
        super(str);
        this.level = ENLogLevel.WARN;
    }

    public DingTalkBusinessException(String str, Throwable ex) {
        super(str, ex);
        this.level = ENLogLevel.WARN;
    }
}
